Location:
Search - struts2 spring
Search list
Description: SSH2实现的在线答疑系统,jar包不全 需要额外下载(SSH2 java spring Struts2)
Platform: |
Size: 5580800 |
Author: 素若芙兮
|
Hits:
Description: 三大框架,mybatis+spring+struts2,可以互相学习,共同提高(the skeleton of SSM, including mybatis,spring,struts2,you can learn more by them.)
Platform: |
Size: 839680 |
Author: moxinwu |
Hits:
Description: SSH是struts+spring+hibernate集成的web应用程序开源框架。
Struts:用来控制的,核心控制器是Controller。
Spring:对Struts和Hibernate进行管理,整合的。
Hiernate:操控数据库
struts标签库:Struts2默认的表达式语言是OGNL(Object-Graph Navigation Language),通过它可以存取对象的任意属性、调用对象的方法、遍历整个对象的结构图、实现字段类型转换等功能。
JSP: HTML文件中插入Java程序段和JSP标记。
web.xml: Struts2核心过滤器和监听器
struts.xml: 管理应用中的Action映射,及Action处理结果和物理资源之间的映射。
applicationContext.xml: 整合了struts和Hibernate。
*.hbm.xml:O/R Mapping(Object Relational Mapping)映射文件,实体和表的映射关系通过XML来描述的文件。在项目启动的时候加载到内存中。
PO:Persistent Object,持久化对象
整体的调用关系:JSP–Action–Service–DAO–PO–数据库(SSH is an open source framework for struts+spring+hibernate integrated web applications.
Struts: the core controller is Controller for control.
Spring: Struts and Hibernate are managed and integrated.
Hiernate: manipulate the database)
Platform: |
Size: 31496192 |
Author: 饿地方人大 |
Hits:
Description: 网上购物商城是一套使用Java语言开发的独立企业电商网店系统(B2C);系统兼容360、Chrome等浏览器。系统采用较为流行的J2EE框架 Struts2+ MyBatis+ Spring 进行合理的组合开发。(Online shopping mall is a set of independent enterprise e-commerce network system developed by Java language (B2C). The system is compatible with browsers such as 360 and Chrome. The system adopts the popular J2EE framework Struts2+ MyBatis+ Spring for reasonable combination development.)
Platform: |
Size: 95477760 |
Author: hailizi |
Hits:
Description: Struts2是一个基于MVC设计模式的Web应用框架,它本质上相当于一个servlet,在MVC设计模式中,Struts2作为控制器(Controller)来建立模型与视图的数据交互。Struts 2是Struts的下一代产品,是在 struts 1和WebWork的技术基础上进行了合并的全新的Struts 2框架。其全新的Struts 2的体系结构与Struts 1的体系结构差别巨大。Struts 2以WebWork为核心,采用拦截器的机制来处理用户的请求,这样的设计也使得业务逻辑控制器能够与ServletAPI完全脱离开,所以Struts 2可以理解为WebWork的更新产品。虽然从Struts 1到Struts 2有着太大的变化,但是相对于WebWork,Struts 2的变化很小。(SSH expresses 3 kinds of frameworks in J2EE project, namely Spring + Struts +Hibernate. Struts provides corresponding components for Model, View and Controller.)
Platform: |
Size: 4290560 |
Author: clarenceZ |
Hits:
Description: Struts2文件上传(基于表单的文件上传)
?Commons-FileUpload组件
–Commons是Apache开放源代码组织的一个Java子项目,其中的FileUpload是用来处理HTTP文件上传的子项目
?Commons-FileUpload组件特点
–使用简单:可以方便地嵌入到JSP文件中,编写少量代码即可完成文件的上传功能
–能够全程控制上传内容
–能够对上传文件的大小、类型进行控制
?需要下载Common-FileUplaod框架地址(当然MyEclipce中Struts2支持里自带有这两个包):
–http://jakarta.apache.org/commons/fileupload/
–下载commons-fileupload-1.2-bin.zip文件
–解压后得到commons-fileupload-1.2.jar
–http://jakarta.apache.org/commons/io/
–下载commons-io-1.3.2-bin.zip文件
–解压后得到commons-io-1.3.2.jar(SSH expresses 3 kinds of frameworks in J2EE project, namely Spring + Struts +Hibernate. Struts provides corresponding components for Model, View and Controller.)
Platform: |
Size: 3551232 |
Author: clarenceZ |
Hits:
Description: 技术要点:
1 此系统采用了目前最流行的ssm框架,其中的spingMVC框架相对于struts2框架更灵活,更安全。
2 本项目springMVC框架采用了注解映射器,使用了RESTful风格的url对系统发起http请求,开发更灵活。
3 同时使用了了hibernate提供的校验框架,对客户端数据进行校验!
4 Mybati数据库DAO层采用的是Mapper代理开发方法,输入映射采用的是POJO包装类型实现,输出映射采用了resultMap类型,实现了数据库多对一映射。
5 spring容器内部使用拦截器,以Spring AOP的方式实现事务控制管理。(Technical points:
1. This system adopts the most popular SSM framework at present. The sping MVC framework is more flexible and safer than the struts 2 framework.
2 The spring MVC framework of this project adopts annotation mapper, and uses RESTful style URL to initiate HTTP requests to the system, which makes the development more flexible.
3 At the same time, the verification framework provided by hibernate is used to verify the client data.)
Platform: |
Size: 14832640 |
Author: MarkJOJO |
Hits:
«
1
2
...
27
28
29
30
31
32»